<?php
/**
 * Created by PhpStorm.
 * User: dx
 * Date: 17/2/23
 * Time: 下午14:03
 */
class AhpUserTokens extends Eloquent
{
    protected $table = "ahp_user_token";

    public static function getToken($token){
        return AhpUserTokens::where('token',$token)->first();
    }
}